<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> 
<html class="no-js" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><?php

        global $page, $paged;

        wp_title( '|', true, 'right' );

        // Add the blog name.
        bloginfo( 'name' );

        // Add the blog description for the home/front page.
        $site_description = get_bloginfo( 'description', 'display' );
        if ( $site_description && ( is_home() || is_front_page() ) )
            echo " | $site_description";

        // Add a page number if necessary:
        if ( $paged >= 2 || $page >= 2 )
            echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );

        ?></title>

  <link rel="shortcut icon" href="<?php echo bloginfo("home");?>/favicon.ico" type="image/vnd.microsoft.icon" />

  <!-- Mobile viewport optimized: h5bp.com/viewport -->
  <meta name="viewport" content="width=device-width">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
  <!-- <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Helvetica World"> -->
  
  <?php wp_head(); ?>


  <!-- JavaScript at the bottom for fast page loading -->
  <!-- js header -->
  <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
  <!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>-->
  <script src="<?php echo get_stylesheet_directory_uri();?>/js/libs/jquery-1.8.1.min.js"></script>
  <!-- Add fancyBox main JS and CSS files -->
  <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri()?>/js/jquery.fancybox.js?v=2.1.0"></script>
  <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri();?>/js/easySlider.js"></script>
  <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri();?>/js/jquery.nivo.slider.js"></script>
  <script src="<?php echo get_stylesheet_directory_uri();?>/js/script.js.php?url_home=<?php echo bloginfo('home')?>&url_css=<?php echo get_stylesheet_directory_uri();?>"></script>
  
  <!-- end scripts -->


  <link rel="stylesheet" href="<?php echo bloginfo('stylesheet_url')?>">
  <script src="<?php echo get_stylesheet_directory_uri();?>/js/libs/modernizr-2.5.3.min.js"></script>
</head>
<body>
  <div id="fb-root"></div>
  <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));</script>
  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
       chromium.org/developers/how-tos/chrome-frame-getting-started -->
  <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
  <!-- Begin wrapper -->
    <div id="the-wrapper">
        <!-- Begin #header -->
        <div id="header">
            <!-- Begin nav-wrapper -->
            <div id="nav-wrapper" class="clearfix">
                <!-- Begin #top-navigation -->
                <ul id="top-navigation" class="fr">
                <?php
                // if ( isset($woo_options[ 'woo_custom_nav_menu' ]) AND $woo_options[ 'woo_custom_nav_menu' ] == 'true' ) {
                //     if ( function_exists( 'woo_custom_navigation_output') )
                //         woo_custom_navigation_output();
                // } else { ?>
                    <!-- mod lại menu ở đây -->
                    <?php
                      global $wp_query;
                      $thePostID = $wp_query->post->ID;

                      if ( is_page() && is_shop() ) 
                        $highlight = "page_item"; 
                      elseif( !is_page() && !is_shop() && !is_single()) 
                        $highlight = "page_item current_page_item";                       
                      else
                        $highlight = "page_item"; ?>
                      <li class="<?php echo $highlight; ?>">
                        <a href="<?php echo home_url( '/' ); ?>">
                          <?php _e( 'Trang chủ', 'woothemes' ) ?>
                        </a>
                      </li>
                    <?php
                    wp_list_pages( 'sort_column=menu_order&depth=6&title_li=&exclude=' );
                // }
                ?>
                </ul>
                <!-- End #top-navigation -->
            </div>
            <!-- End #top-navigation -->

            <!-- Begin logo & search form -->
            <?php echo get_search_form('');?>
            
            <!-- End logo & search form -->
        </div>
        <!-- End #header -->
        <!-- Begin #main -->
        <div id="main" class="clearfix">